package com.ftg.learn.cloud.customer.service;

import com.ftg.learn.cloud.customer.pojo.Dept;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author TJQ
 * @data 2019/10/30 11:04
 */
@FeignClient(value = "productor")
public interface DeptService {

    @GetMapping("/showDept")
    public List<Dept> showAll();

}
